{layout name="/base"}
  <div id="page-wrapper">
    <div class="row">
      <div class="col-lg-12">
        <h1>订单管理 <small>订单信息</small></h1>
        <ol class="breadcrumb">
          <li><a href="/index"><i class="fa fa-dashboard"></i> 管理首页</a></li>
          <li><a href="/orders/indexpay"><i class="fa fa-dashboard"></i> 订单信息列表</a></li>
          <li class="active"><i class="fa fa-table"></i> 订单详情</li>
        </ol>
        <div class="alert alert-success alert-dismissable">
          <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
          这里可以查看订单信息 
        </div>
      </div>
    </div>
    <div class="row">
      <div class="col-lg-12">
        <div class="panel panel-info">
          <div class="panel-heading">
            <h3 class="panel-title">订单信息</h3>
          </div>
          <div class="panel-body">
            <span class="glyphicon glyphicon-file"> 基本信息</span>
          </div>
          <table class="table table-striped">
            <tr><td>订单编号：{$order['number']}</td><td>下单时间：{$order.created_at}</td></tr>
            <tr><td>取车时间：{$order['take_car_date']}</td><td>还车时间：{$order['leave_car_date']}</td></tr>
            <tr><td>取车地点：{$order['take_car_area']}</td><td>还车地点：{$order['leave_car_area']}</td></tr>
          </table>
        </div>
        <div class="panel panel-default">
          <div class="panel-body">
            <span class="glyphicon glyphicon-user"> 预约会员信息</span>
          </div>
          <table class="table table-striped">
            <tr><td>会员账号：{$order.user.mobile}</td><td>预约人姓名：{$order.user.real_name}</td></tr>
          </table>
        </div>
        <div class="panel panel-default">
          <div class="panel-body">
            <span class="glyphicon glyphicon-credit-card"> 支付详情</span>
          </div>
          <table class="table table-striped">
            <th>每晚</th><th>入住天数</th><th>服务费</th><th>旅行币总计</th><th>货币总计</th><th>押金</th>
            <tr><td>{$order.caravan.integral}旅行币</td><td>{$date}天</td><td>{$order['service_fee']}元</td><td><strong class="text-info">{$order.total_intergral}旅行币</strong></td><td><strong class="text-info">{$order.total_amount}元</strong></td><td><strong class="text-info">{$order.deposit}元</strong></td></tr>
          </table>
        </div>
        <div class="panel panel-info">
          <div class="panel-heading">
            <h3 class="panel-title">车主信息</h3>
          </div>
          <div class="panel-body">
            <span class="glyphicon glyphicon-file"> 基本信息</span>
          </div>
          <table class="table table-striped">
            <tr><td>车主账号：{$order.caravanUser.mobile}</td><td>车主姓名：{$order.caravanUser.real_name}</td></tr>
            <tr><td>车辆编号：{$order.caravan.number}</td><td>联系电话：{$order.caravanUser.phone}</td></tr>
          </table>
        </div>
         <input type="button" value="返回" class="btn btn-default"  onclick="javascript:history.back(-1);" />
      </div>
    </div>
    <!-- /.row -->
  </div><!-- /#page-wrapper -->

